Core java - Interview Questions and Answers for 'Span infotech' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Core java - Interview Questions and Answers for 'Span infotech' - 2 question(s) found - Order By Newest

Frequently asked these days as there are major changes in Java 8.
  Q1. What are new features introduced with Java 8 ?Core Java
Ans. Lambda Expressions , Interface Default and Static Methods , Method Reference , Parameters Name , Optional , Streams, Concurrency.

  Sample Code for Lambda

  Sample Code for interface default

  Sample Code for Optional

  Sample Code for Streams

  Sample Code for java.time

  Sample Code for Predicate

  Sample Code for Consumer

  Sample Code for MapMerge

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   java8   technical lead   technical architect     Asked in 14 Companies      expert        frequent


Related Questions

  Difference between final and effectively final ? Why is effectively final even required ?
  What is StringJoiner ?
 Why can't we have diamond problem with interfaces ?
  What is the use of Optional ?
  Name few "Optional" classes introduced with Java 8 ?
 What was the driving force to introduce default methods in Interfaces wef from Java 8 ?
 Is it ok to use optional everywhere just to get over nullpointerexception ?
 What is concurrent interface ?
  What is the @FunctionalInterface annotation ?


 Q2. Which takes more memory - float or Float ?Core Java
Ans. float is a native data type whereas Float is a class. A Float object will always take more memory than float variable as there are metadata overheads with the objects.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   data type   float     Asked in 3 Companies      basic        frequent


Related Questions

  What is casting?
  What are the Wrapper classes available for primitive types ?
  What are wrapper classes ?
 Why Java is not considered pure OOP's language ?
  What is Generalization and Specialization in terms of casting ?
  Which data types are supported by JSON ?
  What are the default or implicitly assigned values for data types in java ?
  What is the difference between float and double?
 How do you prefer to store money values in your application ?
  Difference between long.Class and Long.TYPE ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: